package com.load.objects;

import java.io.Serializable;
import java.util.Date;

import org.tmatesoft.svn.core.SVNDirEntry;

public class MySVNDirEntry implements Serializable {

	private static final long serialVersionUID = 4234410797598085680L;

	private SVNDirEntry entry;

	private String path;

	public MySVNDirEntry(SVNDirEntry entry, String path) {
		this.entry = entry;
		this.path = path;
	}

	public SVNDirEntry getEntry() {
		return entry;
	}

	public String getPath() {
		return path;
	}

	@Override
	public String toString() {
		return "MySVNDirEntry [entry=" + entry + ", path=" + path + "]";
	}

	public Long getRevision() {
		return entry.getRevision();
	}

	public Date getDate() {
		return entry.getDate();
	}

}